package com.wzd.eduservice.service;

import com.wzd.eduservice.entity.CourseCollect;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程收藏 服务类
 * </p>
 *
 * @author wzd
 * @since 2021-06-07
 */
public interface CourseCollectService extends IService<CourseCollect> {

    boolean removeByCourseId(String courseId);

    boolean isCollect(String courseId, String memberIdByJwtToken);

    List<CourseCollect> selectByUserId(String id);
}
